/* 菜单样式优化 */
.el-menu {
  border-right: none;
  background-color: #304156;
}

.el-menu-item,
.el-submenu__title {
  height: 50px;
  line-height: 50px;
  color: #bfcbd9;
  transition: all 0.3s;
  
  i {
    color: #909399;
    margin-right: 10px;
    font-size: 18px;
    vertical-align: middle;
  }
  
  &:hover {
    background-color: #263445 !important;
    color: #ffffff;
    
    i {
      color: #4CAF50;
    }
  }
}

.el-menu-item.is-active {
  background-color: #1f2d3d !important;
  color: #4CAF50;
  border-right: 3px solid #4CAF50;
  
  i {
    color: #4CAF50;
  }
}

.el-submenu.is-active .el-submenu__title {
  color: #ffffff;
  
  i {
    color: #4CAF50;
  }
}

.el-submenu .el-menu {
  background-color: #1f2d3d !important;
}

.el-submenu .el-menu-item {
  padding-left: 50px !important;
  min-width: auto;
  
  &:hover {
    background-color: #001528 !important;
  }
  
  &.is-active {
    background-color: #001528 !important;
  }
}

/* 折叠菜单样式 */
.el-menu--collapse {
  width: 64px;
  
  .el-submenu__title {
    span, .el-submenu__icon-arrow {
      display: none;
    }
  }
}

/* 侧边栏容器 */
.sidebar-container {
  background-color: #304156;
  box-shadow: 2px 0 6px rgba(0, 21, 41, 0.35);
  transition: width 0.28s;
  height: 100%;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 1001;
  overflow-y: auto;
  
  &::-webkit-scrollbar {
    width: 6px;
  }
  
  &::-webkit-scrollbar-thumb {
    background-color: #41546d;
    border-radius: 3px;
  }
  
  .logo-container {
    height: 60px;
    padding: 10px 0;
    text-align: center;
    background-color: #263445;
    overflow: hidden;
    
    .logo {
      height: 40px;
      width: 40px;
      vertical-align: middle;
      margin-right: 10px;
    }
    
    .title {
      display: inline-block;
      color: #ffffff;
      font-weight: 600;
      font-size: 16px;
      vertical-align: middle;
      margin: 0;
    }
  }
} 